package com.unism.util;

import java.io.FileOutputStream;

public class CMyFileX {
	/**
	 * @param paramString
	 * @param paramArrayOfByte
	 * @throws Exception
	 */
	public static void writeFile(String paramString, byte[] paramArrayOfByte)
			throws Exception {
		FileOutputStream localFileOutputStream = null;
		try {
			localFileOutputStream = new FileOutputStream(paramString);
			localFileOutputStream.write(paramArrayOfByte);
		} finally {
			if (localFileOutputStream != null) {
				try {
					localFileOutputStream.flush();
				} catch (Exception localException1) {
				}
				try {
					localFileOutputStream.close();
				} catch (Exception localException2) {
				}
			}
		}
	}

	
}